Skip to content

fix: Replace the channel input with risk#275

Closed
MichaelThamm wants to merge 1 commit intofix/remove-channel-validationfrom
refactor/channel-to-risk
Closed

fix: Replace the channel input with risk#275
MichaelThamm wants to merge 1 commit intofix/remove-channel-validationfrom
refactor/channel-to-risk

Conversation

@MichaelThamm
Copy link
Copy Markdown
Contributor

@MichaelThamm MichaelThamm commented Apr 17, 2026

Issue

Since we need to move to workload tracks for charms, our product component (the charm TF modules) tracks will no longer be in sync. This means that the channel input is no longer useful in products and we really only care about risk.

Blocked by:

Solution

We can hardcode the tracks of the components e.g., 0.31 for alertmanager and 3.10 for prometheus in the module TF tag 3.0.n. The user should not have to concern themselves with what track of COS they want because this has caused confusion in the past i.e., the reason we added channel input validation, which is simplified if we only expose a risk.

Checklist

  • I have added or updated relevant documentation.
  • PR title makes an appropriate release note and follows conventional commits syntax.
  • Merge target is the correct branch, and relevant tandem backport PRs opened.

Context

Keeping the channel input maintains backwards compatibility with COS < 3 so users have easier adoption, but this is giving users a false impression that they can choose a track with this input, but they cannot.

Testing Instructions

Upgrade Notes

@MichaelThamm
Copy link
Copy Markdown
Contributor Author

Closing this PR in favor of:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant